<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>解税宝</title>
<link href="<%=request.getContextPath() %>/css/css.css" type="text/css"
	rel="stylesheet" />
<script type="text/javascript"
	src="<%=request.getContextPath()%>/js/jquery.min.js"></script>
<style type="text/css">
<!--
.STYLE1 {
	color: #0085C4
}
-->
</style>
<script type="text/javascript">
//解决session过期跳转到登录页面并跳出iframe框架 
if (window != top) 
	 top.location.href = location.href; 
//监听回车事件
document.onkeydown=function(event){
	var e = event || window.event || arguments.callee.caller.arguments[0];
	if(e.keyCode == '13'){
		sub();
	}
}

function sub(){
	var email=$("#email").val();
	var pwd=$("#pwd").val();
	var myreg=/^\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*$/;
	if(email==""){
		alert("请输入登录账号");
		$("#email").focus();
	}else if(pwd==""){
		alert("请输入密码");
		$("#pwd").focus();
	}else{
		document.getElementById("form1").submit();
	}
	
}
</script>
</head>

<body onload="ready()">

	<div class="dl-01">
		<div class="dl-02">
			<img src="<%=request.getContextPath()%>/images/dlt.jpg" width="700px"
				height="150px" />
		</div>
	</div>
	<form id="form1" action="<%=request.getContextPath()%>/login"
		method="post">
		<div class="dl-03">
			<div class="dl-04">
				<div class="dl-06">解税宝内部后台登录</div>
				<div>${message }</div>
				<div class="dl-07">
					<div class="dl-08">
						<img src="<%=request.getContextPath()%>/images/xr.jpg" width="18"
							height="20" />
					</div>
					<div class="dl-09">
						<input name="account" type="text" class="dl-10" id="email"
							width=250px; maxlength="40" placeholder="请输入登录账号"		 />
					</div>
				</div>
				<div class="dl-07">
					<div class="dl-08">
						<img src="<%=request.getContextPath()%>/images/ys.jpg" width="16"
							height="19" />
					</div>
					<div class="dl-09">
						<input name="pwd" type="password" class="dl-10" id="pwd"
							maxlength="18" size="10" placeholder="请输入密码" />
					</div>
					<%-- <c:if test="${isValidateCodeLogin}">
						<div class="validateCode">
							<label class="input-label mid" for="validateCode">验证码 ${isValidateCodeLogin}</label>
							<input type="text" name="captcha"><img alt="" src="<%=request.getContextPath()%>/captcha">
						</div>
					</c:if> --%>
				</div>
				<div class="dl-11">
					<div class="dl-12">
						<div class="dl-13">
							<input type="checkbox"  name="remember" id="remember"
								style="width: 15px; height: 15px; padding: 0 5px 0 0; vertical-align: middle;" />
						</div>
						<div class="dl-14">
							<label for="remember">记住账号</label>
						</div>
					</div>
				</div>
				<div class="dl-16"></div>
				<a href="javascript:sub();"><div class="dl-17">登 录</div></a>
				<div class="dl-018"></div>
				<div class="dl-19">
				</div>
			</div>
		</div>
	</form>
	<div class="dl-20">
		© 北京解税宝科技有限公司. All Rights Reserved<br /> 京ICP备16029821号-1
	</div>
</body>
</html>
